#ifndef MY_TRANSFORM_H
#define MY_TRANSFORM_H

#include"my_matrix3x3.h"

namespace my_tf{

    class Transform{
        Matrix3x3 m_basis;
        Vector3 m_origin;
    public:
        Transform(){}
        inline void setOrigin(const Vector3& origin) 
        { 
            m_origin = origin;
        }
        inline void setRotation(const Quaternion& q)
        {
            m_basis.setRotation(q);
        }
        inline const Vector3&   getOrigin()   const { return m_origin; }

        Quaternion getRotation() const { 
            Quaternion q;
            m_basis.getRotation(q);
            return q;
        }  
    };
}
#endif